package kr.hkit.Powerjava.chapter12.Work;

public class Test {
	public static void main(String[] args) {
		
		Controllable c1 = new Controllable() {			
			@Override
			public void stop() {
				System.out.println("Vedio Turn Off.");	
			}			
			@Override
			public void play() {
				System.out.println("Vedio Turn On.");					
			}
		};
		c1.play();
		c1.stop();
				
	}

}
